<template>
  <div class="categroy">
    <h3>{{title}}</h3>
    <!-- <ul>
        <li v-for="(item,index) in listDate" :key="index">{{item}}</li>
    </ul> -->
    <slot name="center"></slot>
    <slot name="footer"></slot>
  </div>
</template>

<script>
export default {
   name:'categroy',
   props:['title']
}
</script>

<style>
.categroy{
    background-color: skyblue;
    width: 200px;
    height: 300px;
}
h3{
    text-align: center;
    background-color: orange;
}
img{
		width: 100%;
	}
video{
    width: 100%;
}
</style>